Skip to content

docs: remove unused ndarray2array requires from README usage examples#11194

Merged
kgryte merged 1 commit intodevelopfrom
philipp/remove-unused-ndarray2array-imports
Mar 29, 2026
Merged

docs: remove unused ndarray2array requires from README usage examples#11194
kgryte merged 1 commit intodevelopfrom
philipp/remove-unused-ndarray2array-imports

Conversation

@Planeshifter
Copy link
Copy Markdown
Member

@Planeshifter Planeshifter commented Mar 29, 2026

Description

What is the purpose of this pull request?

This pull request:

  • Removes unused ndarray2array requires from usage example code blocks in 12 README files. In each case, ndarray2array was imported but never called within the usage code block.

Related Issues

Does this pull request have any related issues?

No.

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.

Checklist

Please ensure the following tasks are completed before submitting this pull request.

AI Assistance

When authoring the changes proposed in this PR, did you use any kind of AI assistance?

  • Yes
  • No

If you answered "yes" above, how did you use AI assistance?

  • Code generation (e.g., when writing an implementation or fixing a bug)
  • Test/benchmark generation
  • Documentation (including examples)
  • Research and understanding

Disclosure

If you answered "yes" to using AI assistance, please provide a short disclosure indicating how you used AI assistance. This helps reviewers determine how much scrutiny to apply when reviewing your contribution. Example disclosures: "This PR was written primarily by Claude Code." or "I consulted ChatGPT to understand the codebase, but the proposed changes were fully authored manually by myself.".

Claude Code identified the unused imports during a codebase-wide review and performed the removals.


@stdlib-js/reviewers

@stdlib-js stdlib-js deleted a comment from stdlib-bot Mar 29, 2026
---
type: pre_commit_static_analysis_report
description: Results of running static analysis checks when committing changes.
report:
  - task: lint_filenames
    status: passed
  - task: lint_editorconfig
    status: passed
  - task: lint_markdown
    status: na
  - task: lint_package_json
    status: na
  - task: lint_repl_help
    status: na
  - task: lint_javascript_src
    status: na
  - task: lint_javascript_cli
    status: na
  - task: lint_javascript_examples
    status: na
  - task: lint_javascript_tests
    status: na
  - task: lint_javascript_benchmarks
    status: na
  - task: lint_python
    status: na
  - task: lint_r
    status: na
  - task: lint_c_src
    status: na
  - task: lint_c_examples
    status: na
  - task: lint_c_benchmarks
    status: na
  - task: lint_c_tests_fixtures
    status: na
  - task: lint_shell
    status: na
  - task: lint_typescript_declarations
    status: passed
  - task: lint_typescript_tests
    status: na
  - task: lint_license_headers
    status: passed
---
@Planeshifter Planeshifter force-pushed the philipp/remove-unused-ndarray2array-imports branch from cf448c2 to 49db6a6 Compare March 29, 2026 04:49
@Planeshifter Planeshifter changed the title fix: remove unused ndarray2array requires from README usage examples docs: remove unused ndarray2array requires from README usage examples Mar 29, 2026
@stdlib-bot
Copy link
Copy Markdown
Contributor

stdlib-bot commented Mar 29, 2026

Coverage Report

Package Statements Branches Functions Lines
blas/ext/base/ndarray/gsort $\color{green}121/121$
$\color{green}+100.00%$
$\color{green}3/3$
$\color{green}+100.00%$
$\color{green}1/1$
$\color{green}+100.00%$
$\color{green}121/121$
$\color{green}+100.00%$
blas/ext/base/ndarray/scircshift $\color{green}117/117$
$\color{green}+100.00%$
$\color{green}3/3$
$\color{green}+100.00%$
$\color{green}1/1$
$\color{green}+100.00%$
$\color{green}117/117$
$\color{green}+100.00%$
blas/ext/find-index $\color{green}500/500$
$\color{green}+100.00%$
$\color{green}54/54$
$\color{green}+100.00%$
$\color{green}2/2$
$\color{green}+100.00%$
$\color{green}500/500$
$\color{green}+100.00%$
blas/ext/find-last-index $\color{green}500/500$
$\color{green}+100.00%$
$\color{green}54/54$
$\color{green}+100.00%$
$\color{green}2/2$
$\color{green}+100.00%$
$\color{green}500/500$
$\color{green}+100.00%$
blas/ext/index-of $\color{green}625/625$
$\color{green}+100.00%$
$\color{green}76/76$
$\color{green}+100.00%$
$\color{green}2/2$
$\color{green}+100.00%$
$\color{green}625/625$
$\color{green}+100.00%$
blas/ext/last-index-of $\color{green}625/625$
$\color{green}+100.00%$
$\color{green}76/76$
$\color{green}+100.00%$
$\color{green}2/2$
$\color{green}+100.00%$
$\color{green}625/625$
$\color{green}+100.00%$
ndarray/base/fliplr $\color{green}128/128$
$\color{green}+100.00%$
$\color{green}5/5$
$\color{green}+100.00%$
$\color{green}1/1$
$\color{green}+100.00%$
$\color{green}128/128$
$\color{green}+100.00%$
ndarray/base/unary-strided1d-dispatch-factory $\color{red}214/280$
$\color{green}+76.43%$
$\color{green}2/2$
$\color{green}+100.00%$
$\color{red}0/1$
$\color{green}+0.00%$
$\color{red}214/280$
$\color{green}+76.43%$
ndarray/base/unary-strided1d-dispatch $\color{red}346/618$
$\color{green}+55.99%$
$\color{green}3/3$
$\color{green}+100.00%$
$\color{red}0/4$
$\color{green}+0.00%$
$\color{red}346/618$
$\color{green}+55.99%$
ndarray/spread-dimensions $\color{green}124/124$
$\color{green}+100.00%$
$\color{green}9/9$
$\color{green}+100.00%$
$\color{green}1/1$
$\color{green}+100.00%$
$\color{green}124/124$
$\color{green}+100.00%$
stats/cumax $\color{green}167/167$
$\color{green}+100.00%$
$\color{green}2/2$
$\color{green}+100.00%$
$\color{green}0/0$
$\color{green}+100.00%$
$\color{green}167/167$
$\color{green}+100.00%$
stats/cumin $\color{green}167/167$
$\color{green}+100.00%$
$\color{green}2/2$
$\color{green}+100.00%$
$\color{green}0/0$
$\color{green}+100.00%$
$\color{green}167/167$
$\color{green}+100.00%$

The above coverage report was generated for the changes in this PR.

@Planeshifter Planeshifter marked this pull request as ready for review March 29, 2026 04:51
@Planeshifter Planeshifter requested a review from kgryte March 29, 2026 04:51
@stdlib-bot stdlib-bot added the Needs Review A pull request which needs code review. label Mar 29, 2026
@kgryte kgryte removed the Needs Review A pull request which needs code review. label Mar 29, 2026
Copy link
Copy Markdown
Member

@kgryte kgryte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kgryte kgryte merged commit a0169bc into develop Mar 29, 2026
40 checks passed
@kgryte kgryte deleted the philipp/remove-unused-ndarray2array-imports branch March 29, 2026 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants